﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Input;

namespace mynotpad
{
    public class NotpadOperation : ICommand
    {
        public event EventHandler CanExecuteChanged;

        public bool CanExecute(object parameter)
        {
            return true;
        }

        public void Execute(object parameter)
        {
            var o = (Operation)parameter;
            switch (o)
            {
                case Operation.New:
                    break;
            }
        }
    }
}
